home *** CD-ROM | disk | FTP | other *** search
- /* samc04019.c */
-
- #include "teglsys.h"
-
-
- void main()
- {
- imagestkptr fs1,fs2;
-
- easytegl();
-
- pushimage(1,1,100,100);
- shadowbox(1,1,100,100);
- fs1 = stackptr;
-
- pushimage(50,50,150,150);
- shadowbox(50,50,150,150);
- fs2 = stackptr;
-
- showmouse();
- while(mouse_buttons == 0);
-
- hideimage(fs2);
- unlinkfs(fs2);
- linkunderfs(fs2,fs1);
- showimage(fs2,fs2->x,fs2->y);
-
- while(mouse_buttons == 0);
- abort_msg("");
- }